package com.yanqu.road.entity.kuang.group;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@FieldTypeAnnotation(tableName = "t_c_kuang_match_group")
public class KuangMatchGroup extends DataObject {

    @FieldTypeAnnotation(desc = "周次id")
    private int weekId;

    @FieldTypeAnnotation(desc = "分组Id")
    private int groupId;

    @FieldTypeAnnotation(desc = "分组开服天数区间（配置最小值）")
    private int openDay;

    @FieldTypeAnnotation(desc = "区服分组")
    private List<Long> serverIdList = new ArrayList<>();

    @FieldTypeAnnotation(desc = "指定跨服id")
    private int crossId;

    @FieldTypeAnnotation(desc = "时间")
    private Date addTime;

    public int getWeekId() {
        return weekId;
    }

    public void setWeekId(int weekId) {
        this.weekId = weekId;
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public int getOpenDay() {
        return openDay;
    }

    public void setOpenDay(int openDay) {
        this.openDay = openDay;
    }

    public List<Long> getServerIdList() {
        return serverIdList;
    }

    public void setServerIdList(List<Long> serverIdList) {
        this.serverIdList = serverIdList;
    }

    public int getCrossId() {
        return crossId;
    }

    public void setCrossId(int crossId) {
        this.crossId = crossId;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }
}
